package com.zzzyh.forumsystemclient.services;

import com.zzzyh.forumsystemclient.model.Moment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IMomentService {
    List<Moment> list(Integer userId,Integer pageNum, Integer pageSize);

    Integer total(Integer userId);

    void add(Moment moment);

    void update(@Param("moment") Moment moment);
}
